SwedbankPay\Payments\WooCommerce\WC_Swedbank_Subscriptions A

Total Complexity 51
Dependencies 7
Dependents 1
Total lines 401
Lines of code 229
Logical lines of code 106
Comment lines 118
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
validate_subscription_payment_meta()
S
54 7 20
scheduled_subscription_payment()
S
49 6 31
add_subscription_card_id()
S
54 6 21
save_subscription_payment_meta()
S
58 6 15
maybe_render_subscription_payment_method()
S
55 5 19
save_new_payment_method_option_html()
S
56 5 17
wcs_cart_has_subscription()
S
61 5 12
payment_meta_input()
S
54 3 19
__construct()
S
46 1 48
get_payment_gateway()
S
68 2 7
wcs_is_payment_change()
S
75 2 4
add_subscription_payment_meta()
S
63 1 11
update_failing_payment_method()
S
89 1 2
delete_resubscribe_meta()
S
79 1 3